package com.ruoyi.tranShort.serialPort.client;

import com.ruoyi.tranShort.serialPort.api.SerialPortClientApi;
import com.ruoyi.tranShort.serialPort.api.SerialPortRequest;
import com.ruoyi.tranShort.serialPort.api.SerialPortResponse;

/**
 * @author wwy
 * @date 2021-08-15 14:22
 */
public class SerialPortDefaultClient implements SerialPortClientApi {
    @Override
    public <T extends SerialPortResponse> T execute(SerialPortRequest serialPortRequest) {
        return serialPortRequest.execute();
    }
}
